<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jstl/core" %>
<%@ include file="/includes/taglibs.jsp"%>
<%@ taglib uri="/WEB-INF/extremecomponents.tld" prefix="ec"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>学生列表</title>
<link rel="stylesheet" href="<%=request.getContextPath()%>/css/common.css" type="text/css" />
<link rel="stylesheet" type="text/css" href="<%=request.getContextPath()%>/css/extremecomponents.css" />
<script type="text/javascript" src="<%=request.getContextPath()%>/js/jquery-1.4.2.min.js"></script>
<style type="text/css">
	.eXtremeTable .tableHeader {
	height: 26px; 
	line-height:25px;
	background:url(/images/platform/tr.jpg) repeat;
	color: #000;
	font-weight: bold;
	border: 0px solid #CCC;
	background-image: url("/images/platform/tr1.jpg") no-repeat;
	background-position: top right;
	white-space: nowrap;
	overflow: hidden;
}
</style>
<script type="text/javascript">
	function del(id){
		window.location.href = "deleteScore.action?score.id="+id;
	}
	function edit(id){
		window.location.href = "editScore.action?score.id="+id;
	}
	function importExcel(){
		
	}
	
</script>
</head>
	<body>
		<div id="man_zone">
		<form action="noPassRank.action" method="post" id="form1" >
		 <table class="table_style" border="0" align="center"  cellpadding="3" cellspacing="1" width="1000px">
		      <tr>
		        <td class="left_title_1">学期:</td>
		        <td>
		          <select id="scoreyear" name="scoreyear">
		           <option value="">--请选择学年--</option>
		           <option value="2011年">2011年</option>
		           <option value="2012年">2012年</option>
		           <option value="2013年">2013年</option>
		          </select>
		         学期
		          <select id="scoreterm" name="scoreterm">
		           <option value="">--请选择学期--</option>
		           <option value="第一学期">第一学期</option>
		           <option value="第二学期">第二学期</option>
		          </select>
		        <input type="submit" value="查询"/> 
		        </td>
		      </tr>
		 </table>
		</form>
		<ec:table retrieveRowsCallback="limit" cellspacing="1" filterable="false"   items="scores" var="score" action="listScore.action">
				<ec:row>
					<ec:column property="student.stuNo" title="学号" width="10%"/>
					<ec:column property="student.name" title="学生名" width="10%"/>
					<ec:column property="course.code"  title="课程编号" width="10%" />
					<ec:column property="course.name"  title="课程名" width="10%" />
					<ec:column property="course.status" title="课程类型" width="10%">
					    <s:if test="#attr.score.course.status == 1">必选课</s:if>
						<s:if test="#attr.score.course.status == 2">限选课</s:if>
						<s:if test="#attr.score.course.status == 3">通选课</s:if>
					</ec:column>
					<ec:column property="course.credit"  title="学分" width="10%" />
					<ec:column property="point"  title="成绩" width="10%" />
					<ec:column property="avgPoint"  title="绩点" width="10%" />
					<ec:column property="conPoint"  title="全绩点" width="10%" />
					<ec:column property="course.term"  title="学期" width="10%" />
					
				</ec:row>
				</ec:table>
		</div>
	</body>
</html>